package yang.itcode.service;

import cn.hutool.json.JSONObject;
import com.github.pagehelper.PageInfo;

public interface SupplierService {
    boolean addSupplier(JSONObject obj);

    PageInfo<JSONObject> getSupplierList(Integer pageNum, Integer pageSize, JSONObject condition);

    JSONObject getSupplierDetail(Integer id);

    boolean updateSupplier(JSONObject obj);

    boolean deleteSupplier(Integer id);
}
